<template>
  <view class="history">
    <view class="tit">
      温馨提示：点击可查看历程订单详情
    </view>
    <!-- 流程图 -->
    <view class="steps">
      <!-- 主体 -->
      <view class="red-tit">
        历程
      </view>
      <view class="line-y"></view>
      <view class="blue-cricle"></view>
      <view class="line-y"></view>
      <view class="green-cricle"></view>
      <view class="line-y"></view>
      <view class="red-cricle"></view>
      <view class="line-y"></view>
      <view class="blue-cricle"></view>
      <view class="line-y"></view>
      <view class="green-cricle"></view>
      <view class="line-y"></view>
      <view class="red-cricle"></view>
      <!-- 主体 -->
      <!-- 右1定位 -->
      <view class="video-right">
        <view class="video-abso">
          <view class="line-x"></view>
          <view class="video-con">
            <view class="video-image">
              <image src="../../static/message/history-one.png" class="video-bg"></image>
              <image src="../../static/message/history-stop.png" class="video-stop"></image>
            </view>
          </view>
        </view>
        <view class="video-tit">
          【帮助捐助订单】
        </view>
        <view class="video-txt">
          一场洪水把辛苦种植...
        </view>
        <view class="video-time">
          2022-9-5 14:19:54
        </view>
      </view>
      <!-- 右1定位 -->
      <!-- 右2定位 -->
      <view class="video-right-two">
        <view class="video-abso">
          <view class="line-x"></view>
          <view class="video-con">
            <view class="video-image">
              <image src="../../static/message/history-one.png" class="video-bg"></image>
              <image src="../../static/message/history-stop.png" class="video-stop"></image>
            </view>
          </view>
        </view>
        <view class="video-tit">
          【帮助捐助订单】
        </view>
        <view class="video-txt">
          一场洪水把辛苦种植...
        </view>
        <view class="video-time">
          2022-9-5 14:19:54
        </view>
      </view>
      <!-- 右2定位 -->
    </view>
    <!-- 流程图 -->

  </view>
</template>

<script>
  export default {
    data() {
      return {

      };
    }
  }
</script>

<style lang="scss">
  .history {
    .tit {
      font-size: 28rpx;
      color: #A0A0A0;
      text-align: center;
      margin: 30rpx 0;
    }

    // 流程图
    .steps {
      position: relative;

      .red-tit {
        width: 100rpx;
        height: 100rpx;
        background-color: #FF2A31;
        color: #fff;
        border-radius: 50%;
        text-align: center;
        font-size: 36rpx;
        line-height: 100rpx;
        margin: 0 auto;
      }

      .line-y {
        width: 6rpx;
        background-color: #C6C6C6;
        height: 120rpx;
        text-align: center;
        margin: 0 auto;
      }

      .blue-cricle {
        width: 48rpx;
        height: 48rpx;
        background-color: #fff;
        border: 2px solid #46ABEF;
        border-radius: 50%;
        margin: 0 auto;
      }

      .green-cricle {
        width: 48rpx;
        height: 48rpx;
        background-color: #fff;
        border: 2px solid #56C88D;
        border-radius: 50%;
        margin: 0 auto;
      }

      .red-cricle {
        width: 48rpx;
        height: 48rpx;
        background-color: #fff;
        border: 2px solid #FB666B;
        border-radius: 50%;
        margin: 0 auto;
      }

      // 右1定位 
      .video-right {
        text-align: center;
        position: absolute;
        top: 190rpx;
        right: 10vw;

        .video-abso {
          display: flex;
          align-items: center;

          .line-x {
            width: 120rpx;
            height: 4rpx;
            background-color: #C6C6C6;
          }

          .video-con {
            .video-image {
              position: relative;

              .video-bg {
                width: 100rpx;
                height: 100rpx;
              }

              .video-stop {
                position: absolute;
                top: 50rpx;
                left: 50rpx;
                transform: translate(-50%, -50%);
                width: 40rpx;
                height: 40rpx;
              }
            }
          }
        }

        .video-tit {
          font-size: 32rpx;
          font-weight: bold;
        }

        .video-txt {
          color: #A0A0A0;
        }

        .video-time {
          color: #C6C6C6;
          font-size: 24rpx;
        }
      }

      // 右2定位
      .video-right-two {
        text-align: center;
        position: absolute;
        top: 540rpx;
        right: 10vw;

        .video-abso {
          display: flex;
          align-items: center;

          .line-x {
            width: 120rpx;
            height: 4rpx;
            background-color: #C6C6C6;
          }

          .video-con {
            .video-image {
              position: relative;

              .video-bg {
                width: 100rpx;
                height: 100rpx;
              }

              .video-stop {
                position: absolute;
                top: 50rpx;
                left: 50rpx;
                transform: translate(-50%, -50%);
                width: 40rpx;
                height: 40rpx;
              }
            }
          }
        }

        .video-tit {
          font-size: 32rpx;
          font-weight: bold;
        }

        .video-txt {
          color: #A0A0A0;
        }

        .video-time {
          color: #C6C6C6;
          font-size: 24rpx;
        }
      }
    }
  }
</style>